<?php

use Illuminate\Support\Facades\DB;
use App\Tools\Common;

$router = app('router');

$router->get('log', function () {
    return 'log';
});

$router->get('log/test', 'Packages\Log\Http\Controllers\Admin\LogController@list');

// 日志管理 admin
$router->group(['namespace' => 'Packages\Log\Http\Controllers\Admin', 'prefix' => 'api/log'], function () use ($router) {
    $router->post('/logs/list', 'LogController@list');
    $router->post('/logs/detail', 'LogController@detail');
});
